Perl Regular Expression [] for <>

Posted by bmucklow on Stack Overflow See other posts from Stack Overflow or by bmucklow
Published on 2010-06-11T20:20:10Z Indexed on 2010/06/11 20:22 UTC
Read the original article Hit count: 190

Filed under:
|
|
|

So I am trying to read an XML file into a string in Perl and send it as part of a SOAP message. I know this is not ideal as there are methods for SOAP sending files, however, I am limited to having to use the SOAP that is set up, and it is not set up for sending with file support.

Therefore I need to parse out the markup tags <> and replace them with []. What is the best way to do this?

© Stack Overflow or respective owner

Related posts about Xml

Related posts about regex